import Cookies from 'js-cookie'
// const CookieKey = 'Cookie'

export function getCookie(CookieKey:any) {
  return Cookies.get(CookieKey)
}

export function setCookie(CookieKey:any, Cookie:any) {//, domain: any
  return Cookies.set(CookieKey, Cookie,{sameSite:'None',secure:true}) // ,{ domain: '.baidu.com', expires: 7 }
}

export function removeCookie(CookieKey:any) {
  return Cookies.remove(CookieKey)
}
